<?php

namespace app\purchase\model;

use think\Db;

class ClientLevel extends \ShopModel
{
    protected $table = 'sh_client_level';

    protected $pk = 'level_id';

    //获取前五条固定数据
    public function immobilization(){
        $data = Db::name('client_level')->where('is_immobilization',1)->select();

        return $data;
    }
}